package com.work.xxzl.mvp.contract;

import com.work.xxzl.bean.CommonBean;
import com.work.xxzl.mvp.base.BaseMVPView;
import com.work.xxzl.mvp.callback.MvpCallback;

/**
 * author: Wangzhan
 * date :2018/9/17 0017 11:33
 * version:2.0.0
 * description:登录契约
 */

public interface LoginContract {
    interface Model {
        void login(String name, String password, MvpCallback<CommonBean> callBack);
    }

    interface View extends BaseMVPView {

    }

    interface Presenter {
        void login(String name, String password);
    }

}
